package com.zxl.threadLocal;

public class TestThreadLocal {
    
    public static void main(String[] args) {
        new Thread(new Runnable() {
            
            @Override
            public void run() {
                FirstClass first = new FirstClass();
                SecondClass second = new SecondClass();
                first.set("1");
                second.set("2");
                System.out.println(first.get());
                System.out.println(second.get());
            }
        }).start();
    }

}
